import request from "@/utils/request";

export function getNewsContent(id) {
    return request({
        url: "/news/newsContent",
        method: "GET",
        params: {
            newsId: id
        }
    })
}                                                                                                                                                                           
export function getDisplayNewsList(params){
    return request({
        url:'/news/getDisplayNewsList',
        method:'POST',
        params:params
    })
}